Part Number Hot Search : 
D1849 DS21FF42 1771033 IRFB3 RFZ44E LM324 00095 33KA5W
Product Description
Full Text Search
 

To Download GD25Q128 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  GD25Q128c datasheet http://www.elm-tech.com
2 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash - content - page 1. f eatures --------------------------- --------------------------- ---------------------------- - -------------- 4 2. general description ------------------------------------------------------ - ---------------------- 5 3. memory organization --------------------------------------------------------- - ---------------- 6 4. device operation ----------------------------------------------------------------- - - - - - - - - - ------ - - 7 5. data protection ----------------------------------------------------------------------- - - - - - ------- - 9 6. status register -------------------------------------------------------------- - - - - - - - - - - - - - - - ------- - 1 1 7. commands description ------------------------------------------- --- - - - - - - - - - - - - - - - - - --------- - 1 3 7.1. write enable (wren) (06h) ---------------------------------------------------- - - - - - - - - - - - - ------- 1 8 7.2. write disable (wrdi) (04h) ------------------------------------------------------------- - - - - - - - - - - 1 8 7.3. write enable for volatile status register (50h) ---------- ---------- -------------- ------- ----- - - -- 1 9 7.4. read status register (rdsr) (05h or 35h or 15h) ------------------------------------ - ------- 20 7.5. write status register (wrsr) (01h or 31h or 11h) ---------- ---- -------- ------- -- - - - - - - - ----- 21 7.6. read data bytes (read) (03h) ------------------------------------------------ - - - - - - - - - - - - - ------- 22 7.7. read data bytes at higher speed (fast read) (0bh) ---------------------- - - - - - - - - - - - - - - ------- 22 7.8. dual output fast read (3bh) --------------------------------------------------------- - - - - - - - ------ 23 7.9. quad output fast read (6bh) ------------------------------------ ---------------------------------- 24 7.10. dual i/o fast read (bbh) ------------------------------------------------------------------ - - - - --- 24 7.11. quad i/o fast read (ebh) ------------------------------------------------------ - - - - - - - - - - - - - ------ 2 6 7.12. quad i/o word fast read (e7h) ------------------------------------------------------------------ 2 8 7. 1 3 . set burst with wrap (77h) ---------------------------------------------------------------- - - - - - - --- - 2 9 7.14. page program (pp) (02h) - -------------------------------------------------------------------------- 30 7.15. quad page program (32h) ---------- ---------------------- --------------------- ----- ----- - - - - ------- 31 7.16. sector erase (se) (20h) ---------- ------------------------------------------------ - - - - - - - - - - - - ------- 33 7.17. 32kb block erase (be) (52h) --------------------------------------------------------------------- 34 7.18. 64kb block erase (be) (d8h) ------------------------------------------------------ - - - - - - - - - ------ 35 7.19. chip erase (ce) (60/c7h) ---------- ---------------- -------------- ------- --- --- --- --- --- - - - - - - - - - --- 36 7.2 0 . deep power-down (dp) (b9h) ---------------------------------------------------------------- - --- - 37 7.21. release from deep power-down and read device id (rdi) (abh) ---------- -------- ------- 3 8 7.22. read manufacture id/device id (rems) (90h) ---------- -------- -------------- - --- ----- - ------- 40 7.23. read manufacture id/device id dual i/o (92h) ---------- -------- ----- -- --- --- --- -- - - --- - ------ 41 7.24. read manufacture id/device id quad i/o (94h) ---- -- -------------- ------- --- --- - - -- --- --- ---- 4 2 7.2 5 . read identification (rdid) (9fh) ------------------------------------------------------------- - --- - 4 3 7.2 6 . program/erase suspend (pes) (75h) ---- ----------------------------- --- --- --- --- --- ---- ---------- 4 4
3 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7.27. program/erase resume (per) (7ah) --------------------------------------------------------- - --- - 45 7.28 . erase security registers (44h) -------------------------------- ------------------------------- ------- 46 7. 29 . program security registers (42h) ---------------------------------- ------- ------- ------- ---- ------- 47 7.30. read security registers (48h) -------------------------------- ------ ------ ------ ------ ------ -------- 48 7.31. individual block/sector lock (36h)/unlock (39h)/read (3dh) -- --- - --- --- - --- --- - --- - ------ 49 7.32. global block/sector lock (7eh) or unlock (98h) -------- ------ ------ ------ ------ ------ -------- 51 7.33. set read parameters (c0h) ----- -------- ------------------- --- ------ ------ ------ ------ ------ -------- 5 3 7.34. bu rst read with wrap (0ch) ----- ------- ------------------- --- ------ ------ ------ ------ ------ ------- 54 7.35. enable qpi (38h) ----- ------- - ------------------ --- ------ ------ --------- -------- ------- ------ -------- 54 7.36. d isable qpi (ffh) ----- ------ - - - ------------------ --- ------ ------ ----------- -------- --- ------ -------- 55 7. 3 7 . enable reset (66h) and reset (99h) --------------------------------------------------------- - - --- - 56 7. 3 8 . read serial flash discoverable parameter (5ah) ------------------------------------------- - --- - 57 8 . electrical characteristics ------------------------------------------- - ------------------- 62 8 .1. power- on timing ------------------------------------------------------------------------------------- 62 8 .2. initial delivery state --------------------------------------------------------------------------------- 62 8 .3. data retention and endurance ---------------------------------------------------------------------- 62 8 .4. abso lute maximum ratings ------------------------------------------------------------------------ 63 8 . 5 . capacitance measurement co nditions ------------------------------------------------------- - --- - 63 8 .6. dc characteristics ---------------------------------------------------------------------------------- 64 8 .7. a c characteristics -------------------------------------------------------------------------- -------- 64 9 . ordering information --------------------------------------------------- --------------------- - 67 10 . package information ------------------------------------------- ------------------------------- - 68 10 .1. package sop8 208mil ------------------------------------------------ ------------------------- ---- 68 10 .2. package wson8 (6 5mm) ------------------------------------------ ------------------------- - ---- 69
4 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 1. features ? 128 m-bit serial flash - 16384k-byte - 256 bytes per programmable page ? standard, dual, quad spi - standard spi: sclk, cs#, si, so, wp#, hold#/reset# - dual spi: sclk, cs#, io0, io1, wp#, hold#/reset# - quad spi: sclk, cs#, io0, io1, io2, io 3 - qpi: sclk, cs#, io0, io1, io2, io 3 ? high speed clock frequency - 104mhz for standard and dual spi fast read with 30pf load - 80mhz for quad spi and qpi fast read with 30pf load - dual i/o data transfer up to 208mbits/s - quad i/o data transfer up to 320mbits/s - qpi mode data transfer up to 320mbits/s - continuous read with 8/16/32/64-byte wrap ? software/hardware write protection - w rite protect all/portion of memory via software - enable/disable protection with wp# pin - top or bottom, sector or block selection ? cycling endurance - minimum 100,000 program/erase cycles ? data retention - 20-year data retention typical . note: (1) please contact elm for details. ? program/erase speed - page program time: 0.6ms typical - sector erase time: 50ms typical - block e rase time: 0.2/0.3s typical - chip e rase time: 60s typical ? flexible architecture - sector of 4k-byte - block of 32/64k-byte ? low power consumption - 20 ma maximum active current - 5a maximum power down current ? advanced security features (1) - 3512-byte security registers with otp locks - discoverable parameters(sfdp) register ? single power supply voltage - full voltage range: 2.7~3.6v ? package information - sop8 (208mil) - wson8 ( 6 5 mm) http://www.elm-tech.com
5 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 2. general description the GD25Q128c(128m-bit) serial flash supports the standard serial peripheral interface (spi), and supports the dual/quad spi: serial clock, chip select, serial data i/o0 (si), i/o1 (so), i/o2 (wp#) and i/o3 (hold#/ reset#). the dual i/o data is transferred with speed of 208mbits/s and the quad i/o & quad output data is transferred with speed of 320mbits/s. connection diagram 8-lead sop 8-lead wso n pin name i / o description cs# i chip select input so (io1) i/o data output (data input output 1) wp# (io2) i/o write protect input (data input output 2) vss ground si (io0) i/o data input (data input output 0) sclk i serial clock input hold#/reset (io3) i/o hold or reset input (data input output 3) vcc power supply pin description spi command & control logic high voltage generators page address latch / counter status register write control logic byte address latch / counter column decode and 256 - byte page buffer w r i t e p r o t e c t l o g i c a n d r o w d e c o d e flash memory cs # sclk si ( io 0 ) so ( io 1 ) reset # ( io 3 ) wp # ( io 2 ) hold # block diagram cs# so wp# vss top view vcc hold#/ reset# sclk si 8 Clead sop 1 2 3 4 5 6 7 8 cs# so wp# vss top view vcc sclk si 8 Clead wson 1 2 3 4 5 6 7 8 hold#/ reset#
6 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash http://www.elm-tech.com each device has each block has each sector has each page has 16 m 64/32k 4k 256 bytes 64 k 256/128 16 - pages 4096 16/8 - - sectors 256 /512 - - - blocks 3. memory organization GD25Q128c GD25Q128c 64k bytes block sector architecture block sector address range 255 4095 f f f000h f f ffffh ----- ----- ----- 4080 f f 0000h f f 0fffh 254 4079 f e f000h f e ffffh ----- ----- ----- 4064 f e 0000h f e 0fffh ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- 2 47 02f000h 02ffffh ----- ----- ----- 32 020000h 020fffh 1 31 01f000h 01ffffh ----- ----- ----- 16 010000h 010fffh 0 15 00f000h 00ffffh ----- ----- ----- 0 000000h 000fffh uniform block sector architecture
7 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 4 . device operation spi mode standard spi the GD25Q128c feature a serial peripheral interface on 4 signals bus: serial clock (sclk), chip select (cs#), serial data input (si) and serial data output (so). both spi bus mode 0 and 3 are supported. input data is latched on the rising edge of sclk and data shifts out on the falling edge of sclk. dual spi the GD25Q128c supports dual spi operation when using the dual output fast read and dual i/o fast read ( 3bh and bbh) commands. these commands allow data to be transferred to or from the device at two times the rate of the standard spi. when using the dual spi command the si and so pins become bidirectional i/o pins: io0 and io1. quad spi the GD25Q128c supports quad spi operation when using the quad output fast read, quad i/o fast read, quad i/o word fast read( 6bh, ebh, e7h) commands. these commands allow data to be transferred to or from the device at four times the rate of the standard spi. when using the quad spi command the si and so pins become bidirectional i/o pins: io0 and io1, and wp# and hold#/reset# pins become io2 and io3. quad spi commands require the non- volatile quad enable bit (qe) in status register to be set. qpi the GD25Q128c supports quad peripheral interface (qpi) operations only when the device is switched from standard/dual/quad spi mode to qpi mode using the enable the qpi (38h) command. the qpi mode utilizes all four io pins to input the command code. standard/dual/quad spi mode and qpi mode are exclusive. only one mode can be active at any given times. enable the qpi (38h) and disable the qpi (ffh) commands are used to switch between these two modes. upon power-up and after software reset using reset (99h) command, the default state of the device is standard/dual/quad spi mode. the qpi mode requires the non-volatile quad enable bit (qe) in status register to be set. hold the hold/rst bit is used to determine whether hold# or reset# function should be implemented on the hardware pin for 8-pin packages. when hold/rst=0, the pin7 acts as hold#, the hold# function is only available when qe=0, if qe=1, the hold# functions is disabled, the pin acts as dedicated data i/o pin. the hold# signal goes low to stop any serial communications with the device, but doesnt stop the operation of write status register, programming, or erasing in progress. the operation of hold, need cs# keep low, and starts on falling edge of the hold# signal, with sclk signal being low (if sclk is not being low, hold operation will not start until sclk being low). the hold condition ends on rising edge of hold# signal with sclk being low (if sclk is not being low, hold operation will not end until sclk being low). the so is high impedance, both si and sclk dont care during the hold operation, if cs# drives high during hold operation, it will reset the internal logic of the device. to re-start communication with chip, the hold# must be at high and then cs# must be at low.
8 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 1. hold condition hold hold cs # sclk hold # reset the reset# pin allows the device to be reset by the control. for the wson8 package, the pin7 can be configured as a reset# pin depending on the status register setting, which need qe=0 and hold/rst=1. on the sop16 package, a dedicated reset# pin is provided and it is independent of qe bit setting. the reset# pin goes low for a period of trlrh or longer will reset the flash. after reset cycle, the flash is at the following states: - standby mode - all the volatile bits will return to the default status as power on. figure 2. reset condition cs # reset # reset
9 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 5 . data protection the GD25Q128c provides the following data protection methods: ? write enable (wren) command: the wren command is set the write enable latch bit (wel). the wel bit will return to reset by the following situation: - power-up - write disable (wrdi) - write status register (wrsr) - page program (pp) - sector erase (se) / block erase (be) / chip erase (ce) ? software protection mode: - the block protect (bp4, bp3, bp2, bp1 and bp0) bits define the section of the memory array that can be read but not change. - individual block protection bit provides th e protection selection of each individual block and sectors in the top and bottom block. ? hardware protection mode: wp# going low to protected the bp0~bp4 bits and srp0~1 bits. ? deep power-down mode: in deep power-down mode, all commands are ignored except the release from deep power-down mode command. status register content memory content bp4 bp3 bp2 bp1 bp0 blocks addresses density portion 0 0 0 none none none none 0 0 0 0 1 252 to 255 fc 0 000h-ffffffh 256 kb upper 1/64 0 0 0 1 0 248 to 255 f8 0 000h-ffffffh 512 kb upper 1/ 32 0 0 0 1 1 24 0 to 255 f0 0 000h-ffffffh 1 m b upper 1/ 16 0 0 1 0 0 2 2 4 to 255 e 0 0 000h-ffffffh 2 mb upper 1/ 8 0 0 1 0 1 192 to 255 c 0 0 000h-ffffffh 4 mb upper 1/ 4 0 0 1 1 0 128 to 255 8 00000h-ffffffh 8 mb upper 1/ 2 0 1 0 0 1 0 to 3 000000h-03ffffh 256 kb lower 1/64 0 1 0 1 0 0 to 7 000000h-07ffffh 512 kb lower 1/32 0 1 0 1 1 0 to 15 000000h-0fffffh 1 m b lower 1/16 0 1 1 0 0 0 to 31 000000h-1fffffh 2 m b lower 1/8 0 1 1 0 1 0 to 63 000000h-3fffffh 4 mb lower 1/4 0 1 1 1 0 0 to 127 0 00 000h-7fffffh 8 m b lower 1/ 2 1 1 1 0 to 255 0 00 000h-ffffffh 16 m b all 1 0 0 0 1 255 f f f0 00h-ffffffh 4 kb top block 1 0 0 1 0 255 f fe000h- f fffffh 8 kb top block 1 0 0 1 1 255 f fc000h- f fffffh 16 k b top block 1 0 1 0 255 f f8000h- f fffffh 32kb top block 1 0 1 1 0 255 f f8 000h-ffffffh 32 kb top block 1 1 0 0 1 0 000000h-000fffh 4 kb bottom block 1 1 0 1 0 0 000000h-001fffh 8 kb bottom block 1 1 0 1 1 0 000000h-003fffh 16 kb bottom block 1 1 1 0 0 000000h-007fffh 32kb bottom block 1 1 1 1 0 0 000000h-007fffh 32 kb bottom block table5.1. GD25Q128c protected area size (wps=0, cmp=0)
10 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash status register content memory content bp4 bp3 bp2 bp1 bp0 blocks addresses density portion 0 0 0 0 to 255 000000h-ffffffh all all 0 0 0 0 1 0 to 251 000000h-fbffffh 16128 kb lower 63/64 0 0 0 1 0 0 to 247 000000h-f7ffffh 15872 kb lower 31/32 0 0 0 1 1 0 to 239 000000h-efffffh 15 m b lower 15/ 16 0 0 1 0 0 0 to 223 000000h-dfffffh 1 4 m b lower 7/ 8 0 0 1 0 1 0 to 191 000000h-bfffffh 1 2 mb lower 3/ 4 0 0 1 1 0 0 to 127 000000h-7fffffh 8 m b lower 1/2 0 1 0 0 1 4 to 255 040000h-ffffffh 16128 kb u pper 63 /64 0 1 0 1 0 8 to 255 080000h-ffffffh 15872 kb u pper 31 / 32 0 1 0 1 1 16 to 255 10 0000h-ffffffh 15 m b u pper 15 / 16 0 1 1 0 0 32 to 255 2 0 0000h-ffffffh 1 4 m b u pper 7 / 8 0 1 1 0 1 64 to 255 4 00000h-ffffffh 1 2 mb u pper 3 / 4 0 1 1 1 0 128 to 255 8 00000h-ffffffh 8 m b u pper 1 / 2 1 1 1 none none none none 1 0 0 0 1 0 to 255 000000h-ffefffh 16380 kb l-4095/4096 1 0 0 1 0 0 to 255 000000h-ffdfffh 16376 kb l-2047/2048 1 0 0 1 1 0 to 255 000000h-ffbfffh 16368 kb l-1023/ 1024 1 0 1 0 0 to 255 000000h-ff7fffh 16352 kb l-511/ 512 1 0 1 1 0 0 to 255 000000h-ff7fffh 16352 kb l-511/ 512 1 1 0 0 1 0 to 255 001000h-ffffffh 16380 kb u -4095/4096 1 1 0 1 0 0 to 255 002000h-ffffffh 16376 kb u -2047/2048 1 1 0 1 1 0 to 255 004000h-ffffffh 16368 kb u -1023/1024 1 1 1 0 0 to 255 008000h-ffffffh 16352 kb u -511/ 512 1 1 1 1 0 0 to 255 008000h-ffffffh 16352 kb u -511/ 512 table5.2. GD25Q128c protected area size (wps=0, cmp=1) block sector address range individual block lock operation 255 4095 f f f000h f f ffffh 32 sectors(top/bottom)/254 blocks block lock: 36h+address block unlock: 39h+address read block lock: 3dh+address global block lock: 7eh global block unlock: 98h ----- ----- ----- 4080 f f 0000h f f 0fffh 254 f e 0 000h f e ffffh ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- 2 020000h 02ffffh 1 010000h 01ffffh 0 15 00f000h 00ffffh ----- ----- ----- 0 000000h 000fffh table5.3. GD25Q128c individual block protection (wps=1)
11 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 6 . status register the status and control bits of the status register are as fo llows: w ip bit. the write in progress (wip) bit indicates whether the memory is busy in program/erase/write status register progress. when wip bit sets to 1, means the device is busy in program/erase/write status register progress, when wip bit sets 0, means the device is not in program/erase/write status register progress. wel bit. the write enable latch (wel) bit indicates the status of the internal write enable latch. when set to 1 the internal write enable latch is set, when set to 0 the internal write enable latch is reset and no write status register, program or erase command is accepted. bp4, bp3, bp2, bp1, bp 0 bits. the block protect (bp4, bp3, bp2, bp1 and bp0) bits are non-volatile. they define the size of the area to be software protected against program and erase commands. these bits are written with the write status register (wrsr) command. when the block protect (bp4, bp3, bp2, bp1 and bp0) bits are set to 1, the relevant memory area (as defined in table1). becomes protected against page program (pp), sector erase (se) and block erase (be) commands. the block protect (bp4, bp3, bp2, bp1 and bp0) bits can be written provided that the hardware protected mode has not been set. the chip erase (ce) command is executed, only if the block protect (bp2, bp1 and bp0) bits are 0 and cmp=0. srp1, srp0 bits. the status register protect (srp1 and srp0) bits are non-volatile read/write bits in the status register. the srp bits control the method of write protection: software protection, hardware protection, power supply lock- down or one time programmable protection. s15 s14 s13 s12 s11 s10 s9 s8 sus1 cmp lb3 lb2 lb1 sus2 qe srp1 s7 s6 s5 s4 s3 s2 s1 s0 srp0 bp4 bp3 bp2 bp1 bp0 wel wip srp1 srp 0 #wp status register description 0 0 software protected the status register can be written to after a write enable command, wel=1.(default) 0 1 0 hardware protected wp#=0, the status register locked and can not be written to. 0 1 1 hardware unprotected wp#=1, the status register is unlocked and can be written to after a write enable command, wel=1. 1 0 power supply lock-down(1) status register is protected and can not be written to again until the next power-down, power-up cycle. 1 1 one time program(2) status register is permanently protected and can not be written to. s23 s22 s21 s20 s19 s18 s17 s16 hold/rst drv1 drv0 reserved reserved wps reserved reserved note: (1). when srp1, srp0= (1, 0), a power-down, power-up cycle will change srp1, srp0 to (0, 0) state. (2). this feature is available on special order. please contact elm for details.
12 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash qe bit. the quad enable (qe) bit is a non-volatile read/write bit in the status register that allows quad operation. when the qe bit is set to 0 (default) the wp# pin and hold#/reset# pin are enable. when the qe pin is set to 1, the quad io2 and io3 pins are enabled. (the qe bit should never be set to 1 during standard spi or dual spi operation if the wp# or hold# /reset# pins are tied directly to the power supply or ground). lb3, lb2, lb1 bits. the lb3, lb2, lb1 bits are non-volatile one time program (otp) bits in status register (s13-s11) that provide the write protect control and status to the security registers. the default state of lb3-lb1 are 0, the security registers are unlocked. the lb3-lb1 bits can be set to 1 individually using the write register instruction. the lb3-lb1 bits are one time programmable, once its set to 1, the security registers will become read-only permanently. cmp bit. the cmp bit is a non-volatile read/write bit in the status register (s14). it is used in conjunction the bp4- bp0 bits to provide more flexibility for the array protection. please see the status registers memory protection table for details. the default setting is cmp=0. sus1, sus2 bits. the sus1 and sus2 bits are read only bit in the status register (s15 and s10) that are set to 1 after executing an program/ erase suspend (75h) command (the erase suspend will set the sus1 to 1, and the program suspend will set the sus2 to 1) . the sus1 and sus2 bits are cleared to 0 by program/ erase resume (7ah) command as well as a power-down, power-up cycle. wps bit. he wps bit is used to select which write protect scheme should be used. when wps=0, the device will use the combination of cmp, bp (4:0) bits to protect a specific area of the memory array. when wps=1, the device will utilize the individual block locks to protect any individual sector or blocks. the default value for all individual block lock bits is 1 upon device power on or after reset. drv1/drv0 . the drv1 & drv0 bits are used to determine the output driver strength for the read operations. drv 1, drv0 driver strength 00 100% 01 75% 10 50% (default) 11 25% hold/rst the hold/rst bit is used to determine whether hold# or reset# function should be implemented on the hardware pin for 8-pin packages. when hold/rst=0, the pin acts as hold#, when the hold/rst=1, the pin acts as reset#. however, the hold# or reset# function are only available when qe=0, if qe=1, the hold# and reset# functions are disabled, the pin acts as dedicated data i/o pin.
13 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. commands description all commands, addresses and data are shifted in and out of the device, beginning with the most significant bit on the first rising edge of sclk after cs# is driven low. then, the one-byte command code must be shifted in to the device, most significant bit first on si, each bit being latched on the rising edges of sclk. see table7.1., every command sequence starts with a one-byte command code. depending on the command, this might be followed by address bytes, or by data bytes, or by both or none. cs# must be driven high after the last bit of the command sequence has been shifted in. for the command of read, fast read, read status register or release from deep power-down, and read device id, the shifted-in command sequence is followed by a data-out sequence. cs# can be driven high after any bit of the data-out sequence is being shifted out. for the command of page program, sector erase, block erase, chip erase, write status register, write enable, write disable or deep power-down command, cs# must be driven high exactly at a byte boundary, otherwise the command is rejected, and is not executed. that is cs# must driven high when the number of clock pulses after cs# being driven low is an exact multiple of eight. for page program, if at any time the input byte is not a full byte, nothing will happen and wel will not be reset. command name byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 n-bytes write enable 06h write disable 04h volatile sr write enable 50h read status register-1 05h (s7-s0) (continuous) read status register-2 3 5h (s15-s8) (continuous) read status register- 3 15h (s23-s16) write status register-1 01h (s7-s0) write status register-2 3 1h (s15-s8) write status register- 3 11h ( s23-s16) read data 03h a23-a16 a15-a8 a7-a0 (d7-d0) (next byte) (continuous) fast read 0bh a23-a16 a15-a8 a7-a0 dummy (d7-d0) (continuous) dual output fast read 3bh a23-a16 a15-a8 a7-a0 dummy d7-d0 (1) (continuous) dual i/o fast read bbh a23 -a8 (2) a7-a0 m7 -m0 (2) (d7-d0) (1) (continuous) quad output fast read 6bh a23-a16 a15-a8 a7-a0 dummy (d7 -d0) (3) (continuous) quad i/o fast read ebh a23-a0 m7 -m0 (4) dummy (5) (d7-d0) (3) (continuous) quad i/o word fast read (7) e7h a23-a0 m7 -m0 (4) dummy (6) (d7-d0) (3) (continuous) page program 02h a23-a16 a15-a8 a7-a0 (d7-d0) next byte quad page program 32h a23-a16 a15-a8 a7-a0 (d7-d0) (3) sector erase 20h a23-a16 a15-a8 a7-a0 block erase (32k) 52h a23-a16 a15-a8 a7-a0 block erase (64k) d8h a23-a16 a15-a8 a7-a0 chip erase c7/60h enable qpi 38h enable reset 66h reset 99h table 7.1. commands (standard/dual/quad spi)
14 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash command name byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 n-bytes set burst with wrap 77h dummy (10) w7-w0 program/erase suspend 75h program/erase resume 7ah release from deep power-down, and read device id abh dummy dummy dummy (did7- did0) (continuous) release from deep power-down abh deep power-down b9h manufacturer/device id 90h dummy dummy 00h (mid7- mid0) (did7- did0) (continuous) manufacturer/device id by dual i/o 92h a23-a8 a7-a0, m7-m0 (mid7-mid0) (did7-did0) (continuous) manufacturer/device id by quad i/o 94h a23-a0, m7-m0 dummy (11) (mid7- mid0) (did7-did0) (continuous) read identification 9fh (mid7- mid0) (jdid15- jdid8) (jdid7- jdid0) (continuous) read serial flash discoverable parameter 5ah a23-a16 a15-a8 a7-a0 dummy (d7-d0) (continuous) erase security registers (8) 44h a23-a16 a15-a8 a7-a0 program security registers (8) 42h a23-a16 a15-a8 a7-a0 (d7-d0) (d7-d0) read security registers (8) 48h a23-a16 a15-a8 a7-a0 dummy (d7-d0) individual block lock 36h a23-a16 a15-a8 a7-a0 individual block unlock 39h a23-a16 a15-a8 a7-a0 read block lock 3dh a23-a16 a15-a8 a7-a0 global block lock 7eh global block unlock 98h
15 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash command name byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 clock number (0, 1) (2, 3) (4, 5) (6, 7) (8, 9) (10, 11) write enable 06h volatile sr write enable 50h write disable 04h read status register-1 05h (s7-s0) read status register-2 3 5h (s15-s8) read status register- 3 15h (s23-s16) write status register-1 01h (s7-s0) write status register-2 3 1h (s15-s8) write status register- 3 11h ( s23-s16) page program 02h a23-a16 a15-a8 a7-a0 (d7-d0) next byte sector erase 20h a23-a16 a15-a8 a7-a0 block erase (32k) 52h a23-a16 a15-a8 a7-a0 block erase (64k) d8h a23-a16 a15-a8 a7-a0 chip erase c7/60h program/erase suspend 75h program/erase resume 7ah deep power-down b9h set read parameters c0h p7-p0 fast read 0bh a23-a16 a15-a8 a7-a0 dummy (d7-d0) burst read with wrap 0ch a23-a16 a15-a8 a7-a0 dummy (d7-d0) quad i/o fast read ebh a23-a16 a15-a8 a7-a0 m7-m0 (d7-d0) release from deep power-down, and read device id abh dummy dummy dummy (did7- did0) manufacturer/ device id 90h dummy dummy 00h (mid7- mid0) (did7- did0) read identification 9fh (mid7- mid0) (jdid15- jdid8) (jdid7- jdid0) read serial flash discoverable parameter 5ah a23-a16 a15-a8 a7-a0 dummy (d7-d0) disable qpi ff h enable reset 66h reset 99h individual block lock 36h a23-a16 a15-a8 a7-a0 individual block unlock 39h a23-a16 a15-a8 a7-a0 read block lock 3dh a23-a16 a15-a8 a7-a0 global block lock 7eh global block unlock 98h table 7.2. commands (qpi) note: (1) dual output data io0 = (d6, d4, d2, d0) io1 = (d7, d5, d3, d1)
16 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash (2) dual input address io0 = a22, a20, a18, a16, a14, a12, a10, a8 a6, a4, a2, a0, m6, m4, m2, m0 io1 = a23, a21, a19, a17, a15, a13, a11, a9 a7, a5, a3, a1, m7, m5, m3, m1 (3) quad output data io0 = (d4, d0, ..) io1 = (d5, d1, ..) io2 = (d6, d2, ..) io3 = (d7, d3, ..) (4) quad input address io0 = a20, a16, a12, a8, a4, a0, m4, m0 io1 = a21, a17, a13, a9, a5, a1, m5, m1 io2 = a22, a18, a14, a10, a6, a2, m6, m2 io3 = a23, a19, a15, a11, a7, a3, m7, m3 (5) fast read quad i/o data io0 = (x, x, x, x, d4, d0,) io1 = (x, x, x, x, d5, d1,) io2 = (x, x, x, x, d6, d2,) io3 = (x, x, x, x, d7, d3,) (6) fast word read quad i/o data io0 = (x, x, d4, d0,) io1 = (x, x, d5, d1,) io2 = (x, x, d6, d2,) io3 = (x, x, d7, d3,) (7) fast word read quad i/o data: the lowest address bit must be 0. (8) security registers address: security register1: a23-a16=00h, a15-a9=0001000b, a8-a0=byte address; security register2: a23-a16=00h, a15-a9=0010000b, a8-a0=byte address; security register3: a23-a16=00h, a15-a9=0011000b, a8-a0=byte address. (9). qpi command, address, data input/output format: clk #0 1 2 3 4 5 6 7 8 9 10 11 io0 = c4, c0, a20, a16, a12, a8, a4, a0, d4, d0, d4, d0, io1 = c5, c1, a21, a17, a13, a9, a5, a1, d5, d1, d5, d1 io2 = c6, c2, a22, a18, a14, a10, a6, a2, d6, d2, d6, d2 io3 = c7, c3, a23, a19, a15, a11, a7, a3, d7, d3, d7, d3 (10) dummy bits and wrap bits io0 = (x, x, x, x, x, x, w4, x) io1 = (x, x, x, x, x, x, w5, x)
17 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash io2 = (x, x, x, x, x, x, w6, x) io3 = (x, x, x, x, x, x, w7, x) (11) address, continuous read mode bits, dummy bits, manufacture id and device id io0 = (a20, a16, a12, a8, a4, a0, m4, m0, x, x, x, x, mid4, mid0, did4, did0, ) io1 = (a21, a17, a13, a9, a5, a1, m5, m1, x, x, x, x, mid5, mid1, did5, did1, ) io2 = (a22, a18, a14, a10, a6, a2, m6, m2, x, x, x, x, mid6, mid2, did6, did2, ) io3 = (a23, a19, a15, a11, a7, a3, m7, m3, x, x, x, x, mid7, mid3, did7, did3, ) operation code mid7-mid0 id15-id8 id7-id0 9fh c8 40 18 90h/92h/94h c8 17 abh 17 table 7.3. table of id definitions for gd25q 128 c
18 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7.1 . write enable (wren)(06h) the write enable (wren) command is for setting the write enable latch (wel) bit. the write enable latch (wel) bit must be set prior to every page program (pp), sector erase (se), block erase (be), chip erase (ce), write status register (wrsr) and erase/ program security register command. the write enable (wren) command sequence: cs# goes low sending the write enable command cs# goes high. command 0 1 2 3 4 5 6 7 06h cs# sclk si so high-z 7.2. write disable (wrdi) (04h) the write disable command is for resetting the write enable latch (wel) bit. the write disable command sequence: cs# goes low sending the write disable command cs# goes high. the wel bit is reset by following condition: power-up and upon completion of the write status register, page program, sector erase, block erase, chip erase, erase/ program security register and reset commands. command 0 1 2 3 4 5 6 7 04h cs# sclk si so high-z figure 3. write enable sequence diagram figure 4. write disable sequence diagram cs # sclk io 0 io 1 io 2 io 3 0 1 command 06 h figure 3a. write enable sequence diagram (qpi)
19 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash cs # sclk io 0 io 1 io 2 io 3 0 1 command 04 h figure 4a. write disable sequence diagram (qpi) 7.3 . write enable for volatile status register (50h) the non-volatile status register bits can also be written to as volatile bits. this gives more flexibility to change the system configuration and memory protection schemes quickly without waiting for the typical non- volatile bit write cycles or affecting the endurance of the status register non-volatile bits. the write enable for volatile status register command must be issued prior to a write status register command. the write enable for volatile status register command will not set the write enable latch bit, it is only valid for the write status register command to change the volatile status register bit values. figure 5. write enable for volatile status register sequence diagram cs# sclk command(50h) si so 0 1 2 3 4 5 6 7 high -z
20 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 6. read status register sequence diagram command 0 1 2 3 4 5 6 7 05 h or 35 h or 15 h cs # sclk si so high - z 8 9 10 11 12 13 14 15 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 msb register 0 / 1 / 2 msb register 0 / 1 / 2 7.4. read status register (rdsr) (05h or 35h or 15h) the read status register (rdsr) command is for reading the status register. the status register may be read at any time, even while a program, erase or write status register cycle is in progress. when one of these cycles is in progress, it is recommended to check the write in progress (wip) bit before sending a new command to the device. it is also possible to read the status register continuously. for command code 05h/ 35h/ 15h, the so will output status register bits s7~s0 / s15~s8 / s16~s23. cs # sclk io 0 io 1 io 2 io 3 0 1 command 50 h figure 5a. write enable for volatile status register sequence diagram (qpi) figure 6a. read status register sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 05 h / 35 h / 15 h 4 4 0 0 5 5 1 1 4 5 6 2 6 2 6 7 3 7 3 7 register 0 / 1 / 2
21 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7.5. write status register (wrsr) (01h or 31h or 11h) the write status register (wrsr) command allows new values to be written to the status register. before it can be accepted, a write enable (wren) command must previously have been executed. after the write enable (wren) command has been decoded and executed, the device sets the write enable latch (wel). the write status register (wrsr) command has no effect on s20, s19, s17, s16, s15, s10, s1 and s0 of the status register. cs# must be driven high after the eighth of the data byte has been latched in. if not, the write status register (wrsr) command is not executed. as soon as cs# is driven high, the self-timed write status register cycle (whose duration is t w ) is initiated. while the write status register cycle is in progress, the status register may still be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed write status register cycle, and is 0 when it is completed. when the cycle is completed, the write enable latch (wel) is reset. the write status register (wrsr) command allows the user to change the values of the block protect (bp4, bp3, bp2, bp1 and bp0) bits, to define the size of the area that is to be treated as read-only. the write status register (wrsr) command also allows the user to set or reset the status register protect (srp1 and srp0) bits in accordance with the write protect (wp#) signal. the status register protect (srp1 and srp0) bits and write protect (wp#) signal allow the device to be put in the hardware protected mode. the write status register (wrsr) command is not executed once the hardware protected mode is entered. figure 7. write status register sequence diagram command 0 1 2 3 4 5 6 7 01 h / 31 h / 11 h cs # sclk si so high - z 8 9 10 11 12 13 14 15 msb 7 6 5 4 3 2 1 0 status register in figure 7a. write status register sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 command 01 h / 31 h / 11 h 4 0 5 1 7 3 status register in 6 2
22 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7.6. read data bytes (read) (03h) the read data bytes (read) command is followed by a 3-byte address (a23-a0), each bit being latched-in during the rising edge of sclk. then the memory content, at that address, is shifted out on so, each bit being shifted out, at a max frequency f r , during the falling edge of sclk. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. the whole memory can, therefore, be read with a single read data bytes (read) command. any read data bytes (read) command, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 8. read data bytes sequence diagram command 0 1 2 3 4 5 6 7 03 h cs # sclk si so high -z 8 9 10 28 29 30 31 32 msb 3 2 1 0 34 35 36 37 33 23 22 21 7 6 5 4 3 2 1 0 38 39 24 - bit address msb data out 1 data out 2 7.7. read data bytes at higher speed (fast read) (0bh) the read data bytes at higher speed (fast read) command is for quickly reading data out. it is followed by a 3-byte address (a23-a0) and a dummy byte, each bit being latched-in during the rising edge of sclk. then the memory content, at that address, is shifted out on so, each bit being shifted out, at a max frequency f c , during the falling edge of sclk. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. figure 9. read data bytes at higher speed sequence diagram
23 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 8 . dual output fast read (3bh) the dual output fast read command is followed by 3-byte address (a23-a0) and a dummy byte, each bit being latched in during the rising edge of sclk, then the memory contents are shifted out 2-bit per clock cycle from si and so. the command sequence is shown in followed figure10. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. figure 10. dual output fast read sequence diagram fast read (0bh) in qpi mode the fast read command is also supported in qpi mode. in qpi mode, the number of dummy clocks is configured by the set read parameters (c0h) command to accommodate a wide range application with different needs for either maximum fast read frequency or minimum data access latency. depending on the read parameter bits p[5:4] setting, the number of dummy clocks can be configured as either 4/6/8/8. figure 9a. read data bytes at higher speed sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 0 bh 20 12 16 8 6 7 8 9 10 4 4 0 0 4 0 4 0 4 21 13 17 9 5 5 1 1 5 1 5 1 5 22 14 18 10 6 6 2 2 6 2 6 2 6 23 15 19 11 7 7 3 3 7 3 7 3 7 a 23 - 16 a 15 - 8 a 7 - 0 dummy * 11 12 13 ios switch from input to output byte 1 byte 2 *" set read parameters " command ( c 0 h ) can set the number of dummy clocks
24 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 9 . quad output fast read (6bh) the quad output fast read command is followed by 3-byte address (a23-a0) and a dummy byte, each bit being latched in during the rising edge of sclk, then the memory contents are shifted out 4-bit per clock cycle from io3, io2, io1 and io0. the command sequence is shown in followed figure11. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. figure 11. quad output fast read sequence diagram command 0 1 2 3 4 5 6 7 6bh cs # sclk si( io 0) so( io 1) high -z 8 9 10 28 29 30 31 3 2 1 0 23 22 21 24 - bit address 34 35 36 37 33 1 5 1 5 1 5 1 38 39 byte1 32 42 43 44 45 41 46 47 40 5 dummy clocks 0 4 0 4 0 4 0 4 4 5 wp #( io 2) high -z hold #( io 3) high -z cs # sclk si( io 0) so( io 1) wp #( io 2) hold #( io 3) 2 6 2 6 2 6 2 6 6 3 7 3 7 3 7 3 7 7 byte2 byte3 byte4 7. 1 0 . dual i/o fast read (bbh) the dual i/o fast read command is similar to the dual output fast read command but with the capability to input the 3-byte address (a23-0) and a continuous read mode byte 2-bit per clock by si and so, each bit being latched in during the rising edge of sclk, then the memory contents are shifted out 2-bit per clock cycle from si and so. the command sequence is shown in followed figure12. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. dual i/o fast read with continuous read mode the dual i/o fast read command can further reduce command overhead through setting the continuous read mode bits (m7-4) after the input 3-byte address (a23-a0). if the continuous read mode bits (m5-4) =(1, 0), then the next dual i/o fast read command (after cs# is raised and then lowered) does not require the bbh command code. the command sequence is shown in followed figure12a. if the continuous read mode bits (m5-4) do not equal (1, 0), the next command requires the first bbh command code, thus returning to normal operation. a continuous read mode reset command can be used to reset (m5-4) before issuing normal command.
25 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 12. dual i/o fast read sequence diagram (m5-4 (1, 0)) figure 11. dual i/o fast read sequence diagram (m5-4 ? (1, 0)) figure 12a. dual i/o fast read sequence diagram (m5-4 = (1, 0)) figure 12. dual i/o fast read sequence diagram (m5-4= (1, 0))
26 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 13. quad i/o fast read sequence diagram (m5-4 (1, 0)) command 0 1 2 3 4 5 6 7 ebh cs # sclk si( io 0) so( io 1) 8 9 10 11 12 13 14 15 4 0 4 0 4 0 4 0 16 17 18 19 20 21 22 23 4 0 4 0 5 1 5 1 5 1 5 1 5 1 5 1 a 23 - 16 a 15 -8 a7-0 m7-0 6 2 6 2 6 2 6 2 6 2 6 2 7 3 7 3 7 3 7 3 7 3 7 3 wp #( io 2) hold #( io 3) 4 5 6 7 dummy byte1 byte2 figure 13a. quad i/o fast read sequence diagram ( m5-4 = (1, 0) ) 0 1 2 3 4 5 6 7 cs # sclk 8 9 10 11 12 13 14 15 si( io 0) so( io 1) wp #( io 2) hold #( io 3) 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 4 5 6 7 a 23 - 16 a 15 -8 a7-0 m7-0 dummy byte1 byte2 7. 1 1 . quad i/o fast read (ebh) the quad i/o fast read command is similar to the dual i/o fast read command but with the capability to input the 3-byte address (a23-0) and a continuous read mode byte and 4-dummy clock 4-bit per clock by io0, io1, io2, io3, each bit being latched in during the rising edge of sclk, then the memory contents are shifted out 4-bit per clock cycle from io0, io1, io2, io3. the command sequence is shown in followed figure13. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. the quad enable bit (qe) of status register (s9) must be set to enable for the quad i/o fast read command. quad i/o fast read with continuous read mode the quad i/o fast read command can further reduce command overhead through setting the continuous read mode bits (m7-0) after the input 3-byte address (a23-a0). if the continuous read mode bits (m5-4) =(1, 0), then the next quad i/o fast read command (after cs# is raised and then lowered) does not require the ebh command code. the command sequence is shown in followed figure13a. if the continuous read mode bits (m5-4) do not equal to (1, 0), the next command requires the first ebh command code, thus returning to normal operation. a continuous read mode reset command can be used to reset (m5-4) before issuing normal command.
27 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash quad i/o fast read with 8/16/32/64-byte wrap around in standard spi mode the quad i/o fast read command can be used to access a specific portion within a page by issuing set burst with wrap (77h) commands prior to ebh. the set burst with wrap (77h) command can either enable or disable the wrap around feature for the following ebh commands. when wrap around is enabled, the data being accessed can be limited to either an 8/16/32/64-byte section of a 256-byte page. the output data starts at the initial address specified in the command, once it reaches the ending boundary of the 8/16/32/64-byte section, the output will wrap around the beginning boundary automatically until cs# is pulled high to terminate the command. the burst with wrap feature allows applications that use cache to quickly fetch a critical address and then fill the cache afterwards within a fixed length (8/16/32/64-byte) of data without issuing multiple read commands. the set burst with wrap command allows three wrap bits w6-w4 to be set. the w4 bit is used to enable or disable the wrap around operation while w6-w5 is used to specify the length of the wrap around section within a page. quad i/o fast read (ebh) in qpi mode the quad i/o fast read command is also supported in qpi mode. see figure13b. in qpi mode, the number of dummy clocks is configured by the set read parameters (c0h) command to accommodate a wide range application with different needs for either maximum fast read frequency or minimum data access latency. depending on the read parameter bits p[5:4] setting, the number of dummy clocks can be configured as either 4/6/8/8. in qpi mode, the continuous read mode bits m7-m0 are also considered as dummy clocks. continuous read mode feature is also available in qpi mode for quad i/o fast read command. wrap around feature is not available in qpi mode for quad i/o fast read command. to perform a read operation with fixed data length wrap around in qpi mode, a dedicated burst read with wrap (0ch) command must be used. figure 13b. quad i/o fast read sequence diagram ( m5-4 = (1, 0) qpi ) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command ebh 20 12 16 8 6 7 8 9 10 4 4 0 4 0 4 0 4 21 13 17 9 5 5 1 5 1 5 1 5 22 14 18 10 6 6 2 6 2 6 2 6 23 15 19 11 7 7 3 7 3 7 3 7 a 23 - 16 a 15 - 8 a 7 - 0 m 7 - 4 * 11 12 13 14 ios switch from input to output byte 1 byte 2 byte 3 *" set read parameters " command ( c 0 h) can set the number of dummy clocks dummy
28 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 14. quad i/o word fast read sequence diagram (m5-4 (1, 0) ) command 0 1 2 3 4 5 6 7 e7h cs # sclk si( io 0) so( io 1) 8 9 10 11 12 13 14 15 4 0 4 0 4 0 4 0 16 17 18 19 20 21 22 23 4 0 4 0 5 1 5 1 5 1 5 1 5 1 5 1 a 23 - 16 a 15 -8 a7-0 m7-0 6 2 6 2 6 2 6 2 6 2 6 2 7 3 7 3 7 3 7 3 7 3 7 3 wp #( io 2) hold #( io 3) 4 5 6 7 dummy byte1 byte2 4 0 5 1 6 2 7 3 byte3 figure 14a. quad i/o word fast read sequence diagram (m5-4 = (1, 0) ) 0 1 2 3 4 5 6 7 cs # sclk 8 9 10 11 12 13 14 15 si( io 0) so( io 1) wp #( io 2) hold #( io 3) 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 4 5 6 7 a 23 - 16 a 15 -8 a7-0 m7-0 dummy byte1 byte2 4 0 5 1 6 2 7 3 byte3 7. 1 2 . quad i/o word fast read (e7h) the quad i/o word fast read command is similar to the quad i/o fast read command except that the lowest address bit (a0) must equal 0 and only 2-dummy clock. the command sequence is shown in followed figure14. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. the quad enable bit (qe) of status register (s9) must be set to enable for the quad i/o word fast read command. quad i/o word fast read with continuous read mode the quad i/o word fast read command can further reduce command overhead through setting the continuous read mode bits (m7-0) after the input 3-byte address (a23-a0). if the continuous read mode bits (m5-4) =(1, 0), then the next quad i/o word fast read command (after cs# is raised and then lowered) does not require the e7h command code. the command sequence is shown in followed figure14. if the continuous read mode bits (m5-4) do not equal to (1, 0), the next command requires the first e7h command code, thus returning to normal operation. a continuous read mode reset command can be used to reset (m5-4) before issuing normal command.
29 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash quad i/o word fast read with 8/16/32/64-byte wrap around in standard spi mode the quad i/o word fast read command can be used to access a specific portion within a page by issuing set burst with wrap (77h) commands prior to e7h. the set burst with wrap (77h) command can either enable or disable the wrap around feature for the following e7h commands. when wrap around is enabled, the data being accessed can be limited to either an 8/16/32/64-byte section of a 256-byte page. the output data starts at the initial address specified in the command, once it reaches the ending boundary of the 8/16/32/64-byte section, the output will wrap around the beginning boundary automatically until cs# is pulled high to terminate the command. the burst with wrap feature allows applications that use cache to quickly fetch a critical address and then fill the cache afterwards within a fixed length (8/16/32/64-byte) of data without issuing multiple read commands. the set burst with wrap command allows three wrap bits w6-w4 to be set. the w4 bit is used to enable or disable the wrap around operation while w6-w5 is used to specify the length of the wrap around section within a page. 7. 1 3 . set burst with wrap (77h) the set burst with wrap command is used in conjunction with quad i/o fast read and quad i/o word fast read command to access a fixed length of 8/16/32/64-byte section within a 256-byte page, in standard spi mode. the set burst with wrap command sequence: cs# goes low send set burst with wrap command send 24 dummy bits send 8 bits wrap bits cs# goes high. w6, w5 w4=0 w4=1 (default) wrap around wrap length wrap around wrap length 0, 0 yes 8-byte no n/a 0, 1 yes 16 -byte no n/a 1, 0 yes 32 -byte no n/a 1, 1 yes 64 -byte no n/a if the w6-w4 bits are set by the set burst with wrap command, all the following quad i/o fast read and quad i/o word fast read command will use the w6-w4 setting to access the 8/16/32/64-byte section within any page. to exit the wrap around function and return to normal read operation, another set burst with wrap command should be issued to set w4=1. in qpi mode, the burst read with wrap (0ch) command should be used to perform the read operation with wrap around feature. the wrap length set by w5-w6 in standard spi mode is still valid in qpi mode and can also be re-configured by set read parameters (c0h) command. figure 15. set burst with wrap sequence diagram command 0 1 2 3 4 5 6 7 77 h cs # sclk si( io 0) so( io 1) 8 9 10 11 12 13 14 15 x x x x x x 4 x x x x x x x 5 x w6-w4 x x x x x x 6 x x x x x x x x x wp #( io 2) hold #( io 3)
30 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 1 4 . page program (pp) (02h) the page program (pp) command is for programming the memory. a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit before sending the page program command. the page program (pp) command is entered by driving cs# low, followed by the command code, three address bytes and at least one data byte on si. if the 8 least significant address bits (a7-a0) are not all zero, all transmitted data that goes beyond the end of the current page are programmed from the start address of the same page (from the address whose 8 least significant bits (a7-a0) are all zero). cs# must be driven low for the entire duration of the sequence. the page program command sequence: cs# goes low sending page program command 3-byte address on si at least 1 byte data on si cs# goes high. the command sequence is shown in figure16. if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be programmed correctly within the same page. if less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes of the same page. cs# must be driven high after the eighth bit of the last data byte has been latched in; otherwise the page program (pp) command is not executed. as soon as cs# is driven high, the self-timed page program cycle (whose duration is t pp ) is initiated. while the page program cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed page program cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. a page program (pp) command applied to a page which is protected by the block protect (bp4, bp3, bp2, bp1 and bp0) is not executed. figure 16. page program sequence diagram
31 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 1 5 . quad page program (32h) the quad page program command is for programming the memory using four pins: io0, io1, io2 and io3. to use quad page program the quad enable in status register bit9 must be set (qe=1). a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit before sending the page program command. the quad page program command is entered by driving cs# low, followed by the command code (32h), three address bytes and at least one data byte on io pins. the command sequence is shown in figure17. if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be programmed correctly within the same page. if less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes of the same page. cs# must be driven high after the eighth bit of the last data byte has been latched in; otherwise the quad page program (pp) command is not executed. as soon as cs# is driven high, the self-timed quad page program cycle (whose duration is t pp ) is initiated. while the quad page program cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed quad page program cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. a quad page program command applied to a page which is protected by the block protect (bp4, bp3, bp2, bp1 and bp0) is not executed. figure 16a. page program sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 02 h 20 12 16 8 6 7 8 9 10 4 4 0 0 4 0 4 0 21 13 17 9 5 5 1 1 5 1 5 1 22 14 18 10 6 6 2 2 6 2 6 2 23 15 19 11 7 7 3 3 7 3 7 3 a 23 - 16 a 15 - 8 a 7 - 0 11 12 13 byte 1 byte 2 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 5 1 6 5 1 7 5 1 8 5 1 9 byte 3 byte 255 byte 256
32 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 17. quad page program sequence diagram command 0 1 2 3 4 5 6 7 32h cs# sclk 8 9 10 28 29 30 31 3 2 1 0 23 22 21 24-bit address 32 33 34 35 4 0 msb 36 37 38 39 si(io0) so(io1) wp#(io2) hold#(io3) 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 byte1 byte2 cs# sclk si(io0) so(io1) wp#(io2) hold#(io3) 42 43 44 45 41 46 47 40 50 51 52 53 49 54 55 48 536 537 538 539 540 541 542 543 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 byte11 4 0 5 1 6 2 7 3 byte12 4 0 5 1 6 2 7 3 byte253 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 byte256
33 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7.1 6 . sector erase (se) (20h) the sector erase (se) command is erased the all data of the chosen sector. a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit. the sector erase (se) command is entered by driving cs# low, followed by the command code, and 3-address byte on si. any address inside the sector is a valid address for the sector erase (se) command. cs# must be driven low for the entire duration of the sequence. the sector erase command sequence: cs# goes low sending sector erase command 3-byte address on si cs# goes high. the command sequence is shown in figure18. cs# must be driven high after the eighth bit of the last address byte has been latched in; otherwise the sector erase (se) command is not executed. as soon as cs# is driven high, the self-timed sector erase cycle (whose duration is t se ) is initiated. while the sector erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed sector erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. a sector erase (se) command applied to a sector which is protected by the block protect (bp4, bp3, bp2, bp1 and bp0) bit is not executed. figure 18. sector erase sequence diagram command 0 1 2 3 4 5 6 7 20 h cs# s cl k si 8 9 29 30 31 msb 2 1 0 24 bits address 23 22 figure 18a. sector erase sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 20 h 20 12 16 8 a 23 - 16 a 12 - 8 6 7 0 21 13 17 9 1 23 15 19 11 3 22 14 18 10 2 4 5 6 7 a 7 - 0
34 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 1 7 . 32kb block erase (be) (52h) the 32kb block erase (be) command is erased the all data of the chosen block. a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit. the 32kb block erase (be) command is entered by driving cs# low, followed by the command code, and three address bytes on si. any address inside the block is a valid address for the 32kb block erase (be) command. cs# must be driven low for the entire duration of the sequence. the 32kb block erase command sequence: cs# goes low sending 32kb block erase command 3-byte address on si cs# goes high. the command sequence is shown in figure19. cs# must be driven high after the eighth bit of the last address byte has been latched in; otherwise the 32kb block erase (be) command is not executed. as soon as cs# is driven high, the self-timed block erase cycle (whose duration is t be ) is initiated. while the block erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed block erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. a 32kb block erase (be) command applied to a block which is protected by the block protect (bp4, bp3, bp2, bp1 and bp0) bits is not executed. figure 19. 32kb block erase sequence diagram command 0 1 2 3 4 5 6 7 52 h cs# s cl k si 8 9 29 30 31 msb 2 1 0 24 bits address 23 22 figure 19a. 32kb block erase sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 52 h 20 12 16 8 a 23 - 16 a 12 - 8 6 7 0 21 13 17 9 1 23 15 19 11 3 22 14 18 10 2 4 5 6 7 a 7 - 0
35 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7.1 8 . 64kb block erase (be) (d8h) the 64kb block erase (be) command is erased the all data of the chosen block. a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit. the 64kb block erase (be) command is entered by driving cs# low, followed by the command code, and three address bytes on si. any address inside the block is a valid address for the 64kb block erase (be) command. cs# must be driven low for the entire duration of the sequence. the 64kb block erase command sequence: cs# goes low sending 64kb block erase command 3-byte address on si cs# goes high. the command sequence is shown in figure20. cs# must be driven high after the eighth bit of the last address byte has been latched in; otherwise the 64kb block erase (be) command is not executed. as soon as cs# is driven high, the self-timed block erase cycle (whose duration is t be ) is initiated. while the block erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed block erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. a 64kb block erase (be) command applied to a block which is protected by the block protect (bp4, bp3, bp2, bp1 and bp0) bits is not executed. figure 20. 64kb block erase sequence diagram command 0 1 2 3 4 5 6 7 d8h cs # sc lk si 8 9 29 30 31 msb 2 1 0 24 bits address 23 22 figure 20a. 64 kb block erase sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command d 8 h 6 7 a 23 - 16 a 15 - 8 a 7 - 0 20 16 12 8 4 0 13 9 5 1 14 10 6 2 15 11 7 3 23 19 22 18 21 17
36 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 19 . chip erase (ce) (60/c7h) the chip erase (ce) command is erased the all data of the chip. a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit. the chip erase (ce) command is entered by driving cs# low, followed by the command code on serial data input (si). cs# must be driven low for the entire duration of the sequence. the chip erase command sequence: cs# goes low sending chip erase command cs# goes high. the command sequence is shown in figure21. cs# must be driven high after the eighth bit of the command code has been latched in; otherwise the chip erase command is not executed. as soon as cs# is driven high, the self- timed chip erase cycle (whose duration is t ce ) is initiated. while the chip erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed chip erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. the chip erase (ce) command is executed only if all block protect (bp2, bp1 and bp0) bits are 0. the chip erase (ce) command is ignored if one or more sectors are protected. figure 21. chip erase sequence diagram command 0 1 2 3 4 5 6 7 60h or c7h cs# sc lk si figure 21a. chip erase sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command c 7 h / 60 h
37 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 2 0 . deep power-down (dp) (b9h) executing the deep power-down (dp) command is the only way to put the device in the lowest consumption mode (the deep power-down mode). it can also be used as an extra software protection mechanism, while the device is not in active use, since in this mode, the device ignores all write, program and erase commands. driving cs# high deselects the device, and puts the device in the standby mode (if there is no internal cycle currently in progress). but this mode is not the deep power-down mode. the deep power-down mode can only be entered by executing the deep power-down (dp) command. once the device has entered the deep power-down mode, all commands are ignored except the release from deep power-down and read device id (rdi) command. this releases the device from this mode. the release from deep power-down and read device id (rdi) command also allows the device id of the device to be output on so. the deep power-down mode automatically stops at power-down, and the device always power-up in the standby mode. the deep power-down (dp) command is entered by driving cs# low, followed by the command code on si. cs# must be driven low for the entire duration of the sequence. the deep power-down command sequence: cs# goes low sending deep power-down command cs# goes high. the command sequence is shown in figure22. cs# must be driven high after the eighth bit of the command code has been latched in; otherwise the deep power-down (dp) command is not executed. as soon as cs# is driven high, it requires a delay of t dp before the supply current is reduced to i cc2 and the deep power- down mode is entered. any deep power-down (dp) command, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 22. deep power-down sequence diagram command 0 1 2 3 4 5 6 7 b9 h c s # s c lk si t dp stand-by mode deep power-down mode figure 22a. deep power-down sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command b 9 h tdp deep power - down mode stand - by mode
38 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 2 1 . release from deep power-down and read device id (rdi) (abh) the release from power-down and read device id command is a multi-purpose command. it can be used to release the device from the power-down state or obtain the devices electronic identification (id) number. to release the device from the power-down state, the command is issued by driving the cs# pin low, shifting the instruction code abh and driving cs# high as shown in figure23. release from power-down will take the time duration of t res1 (see ac characteristics) before the device will resume normal operation and other command are accepted. the cs# pin must remain high during the t res1 time duration. when used only to obtain the device id while not in the power-down state, the command is initiated by driving the cs# pin low and shifting the instruction code abh followed by 3-dummy byte. the device id bits are then shifted out on the falling edge of sclk with most significant bit (msb) first as shown in figure24. the device id value for the GD25Q128c is listed in manufacturer and device identification table. the device id can be read continuously. the command is completed by driving cs# high. when used to release the device from the power-down state and obtain the device id, the command is the same as previously described, and shown in figure24, except that after cs# is driven high it must remain high for a time duration of t res2 (see ac characteristics). after this time duration the device will resume normal operation and other command will be accepted. if the release from power-down/device id command is issued while an erase, program or write cycle is in process (when wip equal 1) the command is ignored and will not have any effects on the current cycle. figure 23. release power-down sequence diagram command 0 1 2 3 4 5 6 7 abh cs # sclk si res 1 stand - by mode deep power - down mode t figure 23a. release power-down sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command abh tres 1 deep power - down mode stand - by mode
39 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 24. release power-down/read device id sequence diagram command 0 1 2 3 4 5 6 7 abh cs # sclk si 8 9 29 30 31 msb 2 1 0 3 dummy bytes 23 22 32 33 34 35 36 37 38 7 6 5 4 3 2 1 0 so msb t res 2 stand - by mode deep power - down mode high - z device id figure 24a. release power-down/ read device id sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command abh 6 7 8 0 1 3 4 5 7 2 6 ios switch from input to output 3 dummy bytes device id tres 2 deep power - down mode stand - by mode
40 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 2 2 . read manufacture id/device id (rems) (90h) the read manufacturer/device id command is an alternative to the release from power-down/device id command that provides both the jedec assigned manufacturer id and the specific device id. the command is initiated by driving the cs# pin low and shifting the command code 90h followed by a 24-bit address (a23-a0) of 000000h. after which, the manufacturer id and the device id are shifted out on the falling edge of sclk with most significant bit (msb) first as shown in figure25. if the 24-bit address is initially set to 000001h, the device id will be read first. figure 25. read manufacture id/device id sequence diagram figure 25a. read manufacture id/device id sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 90 h 6 7 8 0 1 3 4 5 7 2 6 ios switch from input to output device id mid 0 4 1 5 2 6 3 7 3 7 2 6 1 5 0 4 9 10 a 23 - 16 a 15 - 8 a 7 - 0 8 9 19 12 13 23 10 14 11 15 18 22 17 21 16 20 ( 00 h )
41 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 2 3 . read manufacture id/device id dual i/o (92h) the read manufacturer/device id dual i/o command is an alternative to the release from power-down/ device id command that provides both the jedec assigned manufacturer id and the specific device id by dual i/o. the command is initiated by driving the cs# pin low and shifting the command code 92h followed by a 24-bit address (a23-a0) of 000000h. after which, the manufacturer id and the device id are shifted out on the falling edge of sclk with most significant bit (msb) first as shown in figure26. if the 24-bit address is initially set to 000001h, the device id will be read first. figure 26. read manufacture id/device id dual i/o sequence diagram command 0 1 2 3 4 5 6 7 92h cs# sclk si(io0) so(io1) 8 9 10 11 12 13 14 15 6 4 2 0 6 4 2 0 16 17 18 19 20 21 22 23 6 4 2 0 6 4 2 0 7 5 3 1 7 5 3 1 7 5 3 1 7 5 3 1 a23-16 a15-8 a7-0 m7-0 cs# 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 si(io0) so(io1) 6 4 2 0 6 4 2 0 6 4 2 0 6 4 2 0 7 5 3 1 7 5 3 1 7 5 3 1 7 5 3 1 sclk mfr id device id 40 41 42 43 6 4 2 0 7 5 3 1 44 45 46 47 6 4 2 0 7 5 3 1 mfr id (repeat) device id (repeat) mfr id (repeat) device id (repeat)
42 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 27. read manufacture id/device id quad i/o sequence diagram command 0 1 2 3 4 5 6 7 94h cs# sclk si(io0) so(io1) 8 9 10 11 12 13 14 15 4 0 4 0 4 0 4 0 16 17 18 19 20 21 22 23 4 0 4 0 5 1 5 1 5 1 5 1 5 1 5 1 a23-16 a15-8 a7-0 m7-0 6 2 6 2 6 2 6 2 6 2 6 2 7 3 7 3 7 3 7 3 7 3 7 3 wp#(io2) hold#(io3) dummy mfr id did cs# sclk si(io0) so(io1) wp#(io2) hold#(io3) 24 25 26 27 28 29 30 31 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 mfr id (repeat) did (repeat) 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3 mfr id (repeat) did (repeat) 7. 2 4 . read manufacture id/device id quad i/o (94h) the read manufacturer/device id quad i/o command is an alternative to the release from power-down/ device id command that provides both the jedec assigned manufacturer id and the specific device id by quad i/o. the command is initiated by driving the cs# pin low and shifting the command code 94h followed by a 24-bit address (a23-a0) of 000000h. after which, the manufacturer id and the device id are shifted out on the falling edge of sclk with most significant bit (msb) first as shown in figure27. if the 24-bit address is initially set to 000001h, the device id will be read first.
43 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 2 5 . read identification (rdid) (9fh) the read identification (rdid) command allows the 8-bit manufacturer identification to be read, followed by two bytes of device identification. the device identification indicates the memory type in the first byte, and the memory capacity of the device in the second byte. the read identification (rdid) command while an erase or program cycle is in progress is not decoded, and has no effect on the cycle that is in progress. the read identification (rdid) command should not be issued while the device is in deep power-down mode. the device is first selected by driving cs# to low. then, the 8-bit command code for the command is shifted in. this is followed by the 24-bit device identification, stored in the memory, being shifted out on serial data output, each bit being shifted out during the falling edge of serial clock. the command sequence is shown in figure28. the read identification (rdid) command is terminated by driving cs# to high at any time during data output. when cs# is driven high, the device is put in the standby mode. once in the standby mode, the device waits to be selected, so that it can receive, decode and execute commands. figure 28. read identification id sequence diagram figure 28a. read identification id sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 9 fh 12 8 6 0 13 9 1 15 11 3 14 10 2 4 5 6 7 ios switch from input to output mid jdid 15 - jdid 8 jdid 7 - jdid 0 0 1 3 2 4 5 6 7
44 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 2 6 . program/erase suspend (pes) (75h) the program/erase suspend command 75h, allows the system to interrupt a page program or sector/ block erase operation and then read data from any other sector or block. the write status register command (01h/31h/11h) and erase/program security registers command (44h, 42h) and erase commands (20h, 52h, d8h, c7h, 60h) and page program command (02h/32h) are not allowed during program/erase suspend. program/erase suspend is valid only during the page program or sector/block erase operation. a maximum of time of tsus (see ac characteristics) is required to suspend the program/erase operation. the program/erase suspend command will be accepted by the device only if the sus2/sus1 bit in the status register equal to 0 and wip bit equal to 1 while a page program or a sector or block erase operation is on- going. if the sus2/sus1 bit equal to 1 or wip bit equal to 0, the suspend command will be ignored by the device. the wip bit will be cleared from 1 to 0 within tsus and the sus2/sus1 bit will be set from 0 to 1 immediately after program/erase suspend. a power-off during the suspend period will reset the device and release the suspend state. the command sequence is show in figure29. figure 29. program/erase suspend sequence diagram command 0 1 2 3 4 5 6 7 75 h cs # sclk si so high -z tsus accept read command figure 29a. program/erase suspend sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command 75 h tsus accept read
45 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 2 7 . program/erase resume (per) (7ah) the program/erase resume command must be written to resume the program or sector/block erase operation after a program/erase suspend command. the program/erase command will be accepted by the device only if the sus2/sus1 bit equal to 1 and the wip bit equal to 0. after issued the sus2/sus1 bit in the status register will be cleared from 1 to 0 immediately, the wip bit will be set from 0 to 1 within 200ns and the sector or block will complete the erase operation or the page will complete the program operation. the program/erase resume command will be ignored unless a program/erase suspend is active. the command sequence is show in figure30. figure 30. program/erase resume sequence diagram command 0 1 2 3 4 5 6 7 7ah cs# sclk si so resume erase/program figure 30a. program/erase resume sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command 7 ah resume previously suspended program or erase
46 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash address a23-a16 a15-a12 a11-a9 a8-a0 security register #1 00h 0 0 0 1 0 0 0 do not care security register #2 00h 0 0 1 0 0 0 0 do not care security register #3 00h 0 0 1 1 0 0 0 do not care figure 31. erase security registers command sequence diagram command 0 1 2 3 4 5 6 7 44 h cs # sclk si 8 9 29 30 31 msb 2 1 0 24 bits address 23 22 7. 28 . erase security registers (44h) the GD25Q128c provides three 512-byte security registers which can be erased and programmed individually. these registers may be used by the system manufacturers to store security and other important information separately from the main memory array. the erase security registers command is similar to sector/block erase command. a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit. the erase security registers command sequence: cs# goes low sending erase security registers command cs# goes high. the command sequence is shown in figure31. cs# must be driven high after the eighth bit of the command code has been latched in; otherwise the erase security registers command is not executed. as soon as cs# is driven high, the self-timed erase security registers cycle (whose duration is t se ) is initiated. while the erase security registers cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed erase security registers cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. the security registers lock bit (lb3-1) in the status register can be used to otp protect the security registers. once the lb bit is set to 1, the security registers will be permanently locked; the erase security registers command will be ignored.
47 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 29 . program security registers (42h) the program security registers command is similar to the page program command. it allows from 1 to 512 bytes security registers data to be programmed. a write enable (wren) command must previously have been executed to set the write enable latch (wel) bit before sending the program security registers command. the program security registers command is entered by driving cs# low, followed by the command code (42h), three address bytes and at least one data byte on si. as soon as cs# is driven high, the self-timed program security registers cycle (whose duration is t pp ) is initiated. while the program security registers cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed program security registers cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. if the security registers lock bit (lb3-1) is set to 1, the security registers will be permanently locked. program security registers command will be ignored. address a23-a16 a15-a12 a11-a9 a8-a0 security register #1 00h 0 0 0 1 0 0 0 byte address security register #2 00h 0 0 1 0 0 0 0 byte address security register #3 00h 0 0 1 1 0 0 0 byte address figure 32. program security registers command sequence diagram command 0 1 2 3 4 5 6 7 42 h cs # sclk si 8 9 10 28 29 30 31 3 2 1 0 23 22 21 24 - bit address 42 43 44 45 41 46 47 40 50 51 52 53 49 54 55 48 6 5 4 3 2 1 0 7 cs # sclk si msb data byte 2 32 33 34 35 7 6 5 4 3 2 1 0 msb 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 data byte 1 data byte 3 data byte 256 msb msb msb 36 37 38 39 2072 2073 2074 2075 2076 2077 2078 2079
48 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 3 0 . read security registers (48h) the read security registers command is similar to fast read command. the command is followed by a 3-byte address (a23-a0) and a dummy byte, each bit being latched-in during the rising edge of sclk. then the memory content, at that address, is shifted out on so, each bit being shifted out, at a max frequency f c , during the falling edge of sclk. the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. once the a8-a0 address reaches the last byte of the register (byte 3ffh), it will reset to 000h, the command is completed by driving cs# high. address a23-a16 a15-a12 a11-a9 a8-a0 security register #1 00h 0 0 0 1 0 0 0 byte address security register #2 00h 0 0 1 0 0 0 0 byte address security register #3 00h 0 0 1 1 0 0 0 byte address figure 33. read security registers command sequence diagram command 0 1 2 3 4 5 6 7 48 h cs # sclk si so high -z 8 9 10 28 29 30 31 3 2 1 0 23 22 21 24 - bit address msb 34 35 36 37 33 6 5 4 3 2 1 0 38 39 data out 1 32 42 43 44 45 41 46 47 40 7 6 5 4 3 2 1 0 7 6 5 7 data out 2 cs # sclk si so msb dummy byte
49 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 31 . individual block/sector lock (36h)/unlock (39h)/read (3dh) the individual block/sector lock provides an alternative way to protect the memory array from adverse erase/ program. in order to use the individual block/sector locks, the wps bit in status register-3 must be set to 1. if wps=0, the write protection will be determined by the combination of cmp, bp (4:0) bits in the status register. the individual block/sector lock bits are volatile bits. the default values after device power up or after a reset are 1, so the entire memory array is being protected. the individual block/sector lock command (36h) sequence: cs# goes low si: sending individual block/ sector lock command si: sending 24bits individual block/sector lock address cs# goes high. the command sequence is shown in figure34. the individual block/sector unlock command (39h) sequence: cs# goes low si: sending individual block/sector unlock command si: sending 24bits individual block/sector lock address cs# goes high. the command sequence is shown in figure35. the read individual block/sector lock command (3dh) sequence: cs# goes low si: sending read individual block/sector lock command si: sending 24bits individual block/sector lock address so: the block/sector lock bit will out cs# goes high. if the least significant bit(lsb) is1, the corresponding block/sector is locked, if the lsb is 0, the corresponding block/sector is unlocked, erase/program operation can be performed. the command sequence is shown in figure36. figure 34. individual block/sector lock command sequence diagram command 0 1 2 3 4 5 6 7 36 h cs # sclk si 8 9 29 30 31 msb 2 1 0 24 bits address 23 22 figure 34a. individual block/sector lock command sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 36 h 20 12 16 8 a 23 - 16 a 12 - 8 6 7 0 21 13 17 9 1 23 15 19 11 3 22 14 18 10 2 4 5 6 7 a 7 - 0
50 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 35. individual block/sector unlock command sequence diagram command 0 1 2 3 4 5 6 7 39 h cs # sclk si 8 9 29 30 31 msb 2 1 0 24 bits address 23 22 figure 35a. individual block/sector unlock command sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 39 h 20 12 16 8 a 23 - 16 a 12 - 8 6 7 0 21 13 17 9 1 23 15 19 11 3 22 14 18 10 2 4 5 6 7 a 7 - 0 figure 36. read individual block/sector lock command sequence diagram c o m m a n d 0 1 2 3 4 5 6 7 3 d h c s # s c l k s i 8 9 2 9 3 0 3 1 m s b 2 1 0 2 4 b i t s a d d r e s s 2 3 2 2 3 2 3 3 3 4 3 5 3 6 3 7 3 8 x x x x x x x 0 s o m s b h i g h - z l o c k v a l u e o u t
51 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 3 dh 6 7 8 0 x x x x x x x lock value out 24 bits address 9 figure 36a. read individual block/sector lock command sequence diagram (qpi) 7. 3 2 . glob al block/sector lock (7eh) or unlock (98h) all block/sector lock bits can be set to 1 by the global block/sector lock command, or can set to 0 by the global block/sector unlock command. the global block/sector lock command (7eh) sequence: cs# goes low si: sending global block/sector lock command cs# goes high. the command sequence is shown in figure37. the global block/sector unlock command (98h) sequence: cs# goes low si: sending global block/sector unlock command cs# goes high. the command sequence is shown in figure38. figure 37. the global block/sector lock sequence diagram command 0 1 2 3 4 5 6 7 7 eh cs # sclk si so high - z
52 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 37a. the global block/sector lock sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command 7 eh command 0 1 2 3 4 5 6 7 98 h cs # sclk si so high - z figure 38. the global block/sector unlock sequence diagram figure 38a. the global block/sector unlock sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command 98 h
53 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 3 3 . set read parameters (c0h) in qpi mode the set read parameters (c0h) command can be used to configure the number of dummy clocks for fast read (0bh), quad i/o fast read (ebh) and burst read with wrap (0ch) command, and to configure the number of bytes of wrap length for the burst read with wrap (0ch) command. in standard spi mode, the wrap length is set by w5-6 bit in the set burst with wrap (77h) command. this setting will remain unchanged when the device is switched from standard spi mode to qpi mode. p5-p4 dummy clocks maximum read freq. p 1-p0 wrap length 0 0 4 6 0mhz 0 0 8-byte 0 1 6 80mhz 0 1 16 -byte 1 0 8 80mhz 1 0 32 -byte 1 1 8 80mhz 1 1 64 -byte figure 39. set read parameters command sequence diagram cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 command c 0 h p 4 p 0 p 6 p 2 p 7 p 3 p 5 p 1 read parameters
54 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 3 4 . burst read with wrap (0ch) t he burst read with wrap (0ch) command provides an alternative way to perform the read operation with wrap around in qpi mode. this command is similar to the fast read (0bh) command in qpi mode , except the addressing of the read operation will wrap around to the beginning boundary of the wrap around once the ending boundary is reached. the w rap length and the number of dummy clocks can be configured by the set read param eters (c0h) command. figure 40. burst read with wrap command sequence diagram cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 0 ch 20 12 16 8 6 7 8 9 10 4 0 4 0 4 0 4 21 13 17 9 5 1 5 1 5 1 5 22 14 18 10 6 2 6 2 6 2 6 23 15 19 11 7 3 7 3 7 3 7 a 23 - 16 a 15 - 8 a 7 - 0 dummy * 11 12 13 14 ios switch from input to output byte 1 byte 2 byte 3 *" set read parameters " command ( c 0 h ) can set the number of dummy clocks 7. 3 5 . enable qpi (38h) the device support both standard/dual/quad spi and qpi mode. the enable qpi (38h) command can switch the device from spi mode to qpi mode. see the command table 7.2. for all support qpi commands. in order to switch the device to qpi mode, the quad enable (qe) bit in status register-1 must be set to 1 first, and enable qpi (38h) command must be issued. if the qe bit is 0, the enable qpi (38h) command will be ignored and the device will remain in spi mode. when the device is switched from spi mode to qpi mode, the existing write enable latch and program/erase suspend status, and the wrap length setting will remain unchanged. figure 41. enable qpi mode command sequence diagram command 0 1 2 3 4 5 6 7 38 h cs # sclk si
55 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 3 6 . disable qpi (ffh) to exit the qpi mode and return to standard/dual/quad spi mode, the disable qpi (ffh) command must be issued. when the device is switched from qpi mode to spi mode, the existing write enable latch and program/erase suspend status, and the wrap length setting will remain unchanged. figure 42. disable qpi mode command sequence diagram cs # sclk io 0 io 1 io 2 io 3 0 1 command ffh
56 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 43a. enable reset and reset command sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 command 66 h 0 1 command 99 h 7. 3 7 . enable reset (66h) and reset (99h) if the reset command is accepted, any on-going internal operation will be terminated and the device will return to its default power-on state and lose all the current volatile settings, such as volatile status register bits, write enable latch status (wel), program/erase suspend status, read parameter setting (p7-p0), continuous read mode bit setting (m7-m0) and wrap bit setting (w6-w4). the enable reset (66h) and the reset (99h) commands can be issued in either spi or qpi mode. the reset (99h) command sequence as follow: cs# goes low sending enable reset command cs# goes high cs# goes low sending reset command cs# goes high. once the reset command is accepted by the device, the device will take approximately t rst =60 s to reset. during this period, no command will be accepted. data corruption may happen if there is an on-going or suspended internal erase or program operation when reset command sequence is accepted by the device. it is recommended to check the busy bit and the sus bit in status register before issuing the reset command sequence. figure 43. enable reset and reset command sequence diagram figure 38. enable reset and reset command sequence diagram 7.34. read serial flash discoverable parameter (5ah)
57 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 7. 3 8 . read serial flash discoverable parameter (5ah) the serial flash discoverable parameter (sfdp) standard provides a consistent method of describing the functional and feature capabilities of serial flash devices in a standard set of internal parameter tables. these parameter tables can be interrogated by host system software to enable adjustments needed to accommodate divergent features from multiple vendors. the concept is similar to the one found in the introduction of jedec standard, jesd68 on cfi. sfdp is a standard of jedec standard no.216. figure 44. read serial flash discoverable parameter command sequence diagram figure 39. read serial flash discoverable parameter command sequence diagram figure 44a. read serial flash discoverable parameter command sequence diagram (qpi) cs # sclk io 0 io 1 io 2 io 3 0 1 2 3 4 5 command 5 ah 20 12 16 8 6 7 8 9 10 4 4 0 0 4 0 4 0 4 21 13 17 9 5 5 1 1 5 1 5 1 5 22 14 18 10 6 6 2 2 6 2 6 2 6 23 15 19 11 7 7 3 3 7 3 7 3 7 a 23 - 16 a 15 - 8 a 7 - 0 dummy * 11 12 13 ios switch from input to output byte 1 byte 2 *" set read parameters " command ( c 0 h ) can set the number of dummy clocks
58 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash table 7.4. signature and parameter identification data values description comment add(h) (byte) dw add (bit) data data sfdp signature fixed:50444653h 00h 07:00 53h 53h 01h 15:08 46h 46h 02h 23:16 44h 44h 03h 31:24 50h 50h sfdf minor revision number start from 00h 04h 07:00 00h 00h sfdf major revision number start from 01h 05h 15:08 01h 01h number of parameters headers start from 00h 06h 23:16 01h 01h unused contains 0ffh and can never be changed 07h 31:24 ffh ffh id n umber (jedec) 00h: it indicates a jedec specified header 08h 07:00 00h 00h parameter table minor revision number start from 000h 09h 15:08 00h 00h parameter table major revision number start from 001h 0ah 23:16 01h 01h parameter table length (in double word) how many dwords in the parameter table 0bh 31:24 09h 09h parameter table pointer (ptp) fist address of jedec flash parameter table 0ch 07:00 30h 30h 0dh 15:08 00h 00h 0eh 23:16 00h 00h unused contains 0ffh and can never be changed 0fh 31:24 ffh ffh id number (elm manufacturer id) it is indicates elm manufacturer id 10h 07:00 c8h c8h parameter table minor revision number start from 000h 11h 15:08 00h 00h parameter table major revision number start from 001h 12h 23:16 01h 01h parameter table length (in double word) how many dwords in the parameter table 13h 31:24 03h 03h parameter table pointer (ptp) fist address of elm flash parameter table 14h 07:00 60h 60h 15h 15:08 00h 00h 16h 23:16 00h 00h unused contains 0ffh and can never be changed 17h 31:24 ffh ffh
59 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash table 7.5. parameter table (0): jedec flash parameter tables description comment add(h) (byte) dw add (bit) data data block/sector erase size 00: reserved; 01: 4kb erase; 10: reserved; 11: not support 4kb erase 30h 01:00 01b e5h write granularity 0: 1byte; 1: 64byte or larger 02 1b write enable instruction requested for writing to volatile status registers 0: nonvolatile status bit 1: volatile status bit (bp status register bit) 03 0b write enable opcode select for writing to volatile status registers 0: use 50h opcode, 1: use 06h opcode, note: if target flash status register is nonvolatile, then bits 3 and 4 must be set to 00b. 04 0b unused contains 111b and can never be changed 07:05 111b 4kb erase opcode 31h 15:08 20h 20h (1-1-2) fast read 0=not support, 1=support 32h 16 1 b f1h address bytes number used in addressing flash array 00: 3byte only, 01: 3 or 4byte, 10: 4byte only, 11: reserved 18:17 00b double transfer rate (dtr) clocking 0=not support, 1=support 19 0b (1-2-2) fast read 0=not support, 1=support 20 1b (1-4-4) fast read 0=not support, 1=support 21 1b (1-1-4) fast read 0=not support, 1=support 22 1b unused 23 1b unused 33h 31:24 ffh ffh flash memory density 37h:34h 31:00 07ffffffh (1-4-4) fast read number of wait states 00000b: wait states (dummy clocks) not support 38h 04:00 00100b 44h (1-4-4) fast read number of mode bits 000b: mode bits not support 07:05 010b (1-4-4) fast read opcode 39h 15:08 ebh ebh (1-1-4) fast read number of wait states 00000b: wait states (dummy clocks) not support 3ah 20:16 01000b 08h (1-1-4) fast read number of mode bits 000b: mode bits not support 23:21 000b (1-1-4) fast read opcode 3bh 31:24 6bh 6bh (1-1-2) fast read number of wait states 00000b: wait states (dummy clocks) not support 3ch 04:00 01000b 08h (1-1-2) fast read number of mode bits 000b: mode bits not support 07:05 000b (1-1-2) fast read opcode 3dh 15:08 3bh 3bh
60 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash description comment add(h) (byte) dw add (bit) data data (1-2-2) fast read number of wait states 00000b: wait states (dummy clocks) not support 3eh 20:16 00010b 42h (1-2-2) fast read number of mode bits 000b: mode bits not support 23:21 010b (1-2-2) fast read opcode 3fh 31:24 bbh bbh (2-2-2) fast read 0=not support; 1=support 40h 00 0b f eh unused 03:01 111b (4-4-4) fast read 0=not support; 1=support 04 0b unused 07:05 111b unused 43h:41h 31:0 8 0 ffh 0 ffh unused 45h:44h 15 :0 0 0 ffh 0 ffh (2-2-2) fast read number of wait states 00000b: wait states (dummy clocks) not support 46h 20:16 00000b 00h (2-2-2) fast read number of mode bits 000b: mode bits not support 23:21 000b (2-2-2) fast read opcode 47h 31:24 ffh ffh unused 49h:48h 15 : 00 0 ffh 0 ffh (4-4-4) fast read number of wait states 00000b: wait states (dummy clocks) not support 4ah 20:16 00100b 44 h (4-4-4) fast read number of mode bits 000b: mode bits not support 23:21 010b (4-4-4) fast read opcode 4bh 31:24 e b h eb h sector type 1 size sector/block size=2^n bytes 0 00b: this sector type dont exist 4ch 07:00 0ch 0ch sector type 1 erase opcode 4dh 15:08 20h 20h sector type 2 size sector/block size=2^n bytes 0 00b: this sector type dont exist 4eh 23:16 0fh 0fh sector type 2 erase opcode 4fh 31:24 52h 52h sector type 3 size sector/block size=2^n bytes 0 00b: this sector type dont exist 50h 07:00 10h 10h sector type 3 erase opcode 51h 15:08 d8h d8h sector type 4 size sector/block size=2^n bytes 0 00b: this sector type dont exist 52h 23:16 00h 00h sector type 4 erase opcode 53h 31:24 ffh ffh
61 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash table 7.6. parameter table (1): elm flash parameter tables description comment add(h) (byte) dw add (bit) data data vcc supply maximum voltage 2000h=2.000v 2700h=2.700v 3600h=3.600v 61h:60h 15 :00 3600h 3600h vcc supply minimum voltage 1650h=1.650v 2250h=2.250v 2350h=2.350v 2700h=2.700v 63h:62h 31:16 27 00h 27 00h hw reset# pin 0=not support; 1=support 65h:64h 00 1 b f99fh hw hold# pin 0=not support; 1=support 01 1b deep power down mode 0=not support; 1=support 02 1b sw reset 0=not support; 1=support 03 1b sw reset opcode should be issue reset enable(66h) before reset cmd. 11:04 1001 1001b (99h) program suspend/resume 0=not support; 1=support 12 1b erase suspend/resume 0=not support; 1=support 13 1b unused 14 1b wrap-around read mode 0=not support; 1=support 15 1b wrap-around read mode pcode 66h 23:16 77h 77h wrap-around read data length 08h: support 8b wrap-around read 16h: 8b & 16b 32h: 8b & 16b & 32b 64h: 8b & 16b & 32b & 64b 67h 31:24 64h 64h individual block lock 0=not support; 1=support 6bh:68h 00 1 b e8d9h individual block lock bit (volatile/nonvolatile) 0=volatile; 1=nonvolatile 01 0b individual block lock opcode 09:02 36 h individual block lock volatile protect bit default protect status 0=protect; 1=unprotect 10 0b secured otp 0=not support; 1=support 11 1b read lock 0=not support; 1=support 12 0b permanent lock 0=not support; 1=support 13 1b unused 15:14 11b unused 31:16 ffh ffh
62 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 8. electrical characteristics 8.1 . power-on timing symbol parameter min max unit tvsl vcc(min) to cs# low 10 us tpuw time delay before write instruction 1 10 ms vwi write inhibit voltage 1 2.5 v table 8.1. power-up timing and write inhibit threshold 8 . 2 . initial delivery state the device is delivered with the memory array erased: all bits are set to 1(each byte contains ffh).the status register bits are set to 0, except drv1 bit (s22) is set to 1. 8 . 3 . data retention and endurance parameter test condition min units minimum pattern data retention time 150c 10 years 125c 2 0 years erase/program endurance -40 to 85c 100k cycles figure 45. power-on timing sequence diagram
63 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 8 . 4 . absolute maximum ratings parameter value unit ambient operating temperature -40 to 85 c storage temperature -65 to 150 c output short circuit current 200 ma applied input/output voltage -0.6 to vcc+0.4 v transient input/output voltage(note: overshoot) -2.0 to vcc+2.0 v v cc -0.6 to vcc+4.0 v 8 . 5 . capacitance measurement conditions symbol parameter min typ max unit conditions cin input capacitance 6 pf vin=0v cout output capacitance 8 pf vout=0v c l load capacitance 30 pf input rise and fall time 5 ns input pulse voltage 0.1vcc to 0.8vcc v input timing reference voltage 0.2vcc to 0.7vcc v output timing reference voltage 0.5vcc v figure 46. maximum negative/positive overshoot diagram maximum negative overshoot waveform maximum positive overshoot waveform vss 20ns 20ns 20ns vss-2.0v vc c 20ns 20ns 20ns vcc + 2.0v figure 47. input test waveform and measurement level diagram 0.8v cc 0.1v cc 0.7v cc 0.2v cc 0.5v cc ac measurement level i nput timing reference level output timing re f erence level note : input pulse rise and fall time are <5ns
64 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 8. 6 . dc characteristics symbol parameter test condition min. typ. max. unit. i li input leakage current 2 a i l o output leakage current 2 a i cc1 standby current cs#=vcc, v in =vcc or vss 15 50 a i cc 2 deep power-down current cs#=vcc, v in =vcc or vss 1 5 a i cc 3 operating current (read) clk=0.1vcc/0.9vcc at 104mhz, q=open(*1 i/o) 15 20 ma clk=0.1vcc/0.9vcc at 80mhz, q=open(*1,*2,*4 i/o) 13 18 ma i cc 4 operating current (pp) cs#=vcc 10 ma i cc 5 operating current (wrsr) cs#=vcc 10 ma i cc 6 operating current (se) cs#=vcc 10 ma i cc 7 operating current (be) cs#=vcc 10 ma v i l input low voltage 0.2vcc v v i h input high voltage 0.7vcc vcc+0.4 v v ol output low voltage i ol = 100 a 0.2 v v o h output high voltage i oh =-100 a vcc-0.2 v (t= -40 c ~85 c , vcc=2.7~3.6v ) 8. 7 . ac characteristics (t= -40 c ~85 c , vcc=2.7~3.6v, c l =30pf) symbol parameter min. typ. max. unit. f c serial clock frequency for all instructions except read dc. 104 mhz f c1 serial clock frequency for quad read instructions (1) dc. 104/80 mhz f c2 serial clock frequency for qpi instructions dc. 8 0 mhz f r serial clock frequency for: read(03h), read manufacturer id/device id(90h), read identification(9fh) dc. 80 mhz t clh serial clock high time 4 .5 ns t c ll serial clock low time 4 .5 ns t clc h serial clock rise time (slew rate) 0.2 v/ns t chc l serial clock fall time (slew rate) 0.2 v/ns t slc h cs# active setup time 5 ns t chsh cs# active hold time 5 ns t shch cs# not active setup time 5 ns t c h sl cs# not active hold time 5 ns t s h sl cs# high time (read/write) 20 ns t s h qz output disable time 6 ns t cl q x output hold time 1.0 ns t dvch data in setup time 2 ns
65 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash note: (1). serial clock frequency for quad read instructions f c1 is 104mhz maximum, when operating temperature is 80c. (2). serial clock frequency for quad read instructions f c1 is 80mhz maximum, when 80 c < operating temperature 85 c . symbol parameter min. typ. max. unit. t chdx data in hold time 2 ns t hlch hold# low setup time (relative to clock) 5 ns t hhch hold# high setup time (relative to clock) 5 ns t chhl hold# high hold time (relative to clock) 5 ns t chh h hold# low hold time (relative to clock) 5 ns t hl qz hold# low to high-z output 6 ns t h h q x hold# low to low-z output 6 ns t clq v clock low to output valid 6.5 ns t whsl write protect setup time before cs# low 20 ns t s hwl write protect hold time after cs# high 100 ns t dp cs# high to deep power-down mode 20 s t res1 cs# high to standby mode without electronic signature read 3 0 s t res 2 cs# high to standby mode with electronic signature read 3 0 s t sus cs# high to next command after suspend 20 s t rst cs# high to next command after reset 6 0 s t w write status register cycle time 5 3 0 ms t bp1 byte program time (first byte) 30 50 s t bp2 additional byte program time (after first byte) 2.5 12 s t pp page programming time 0.6 2.4 ms t se sector erase time 5 0 4 00 ms t be block erase time (32k bytes) 0.2 1.0 s t be block erase time (64k bytes) 0.3 1.2 s t ce chip erase time (GD25Q128c) 60 120 s figure 48. serial input timing diagram sclk cs# si msb so high-z lsb tchsl tslch tdvch tchdx tshch tchsh tchcl tclch tshsl
66 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash figure 49. output timing diagram cs # sclk so si least significant address bit ( lib ) in tclqv tclqx tclqx tclqv tclh tcll tshqz lsb figure 50. hold timing diagram cs # sclk so hold # tchhl thlqz thlch tchhh thhch thhqx si do not care during hold operation . figure 51. reset timing diagram cs # reset # trlrh trhsl trb 1 trb 2 symbol parameter setup speed unit trlrh reset pulse width min 1 us trhsl reset high time before read min 50 ns trb1 reset recovery time (for not busy mode) max 5 us trb2 reset recovery time (for busy mode) max 60 us reset timing
67 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 9 . ordering information packing type y: tray r: tape & reel green code g: pb free & haloge n free green package temperature range i: industrial(-40 c to +85 c) package type s : sop8 208mil w: wson8 (6 5mm) generation c : version density 128 : 128 mb series q : 3v, 4kb uniform sector qe=1 permanently product family 25 : spi interface flash gd 25 q 128 c x i g x
68 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 10.1 package sop8 208mil 10 . package information 1 4 5 8 e1 e d a a2 a1 e b l l1 c ? symbol a a1 a2 b c d e e1 e l l1 unit mm min - 0.05 1.70 0.31 0.18 5.13 7.70 5.18 - 0.50 1.21 0 nom - 0.15 1.80 0.41 0.21 5.23 7.90 5.28 1.27 0.67 1.31 5 max 2.16 0.25 1.91 0.51 0.25 5.33 8.10 5.38 - 0.85 1.41 8 inch min - 0.002 0.067 0.012 0.007 0.202 0.303 0.204 - 0.020 0.048 0 nom - 0.006 0.071 0.016 0.008 0.206 0.311 0.208 0.050 0.026 0.052 5 max 0.085 0.010 0.075 0.020 0.010 0.210 0.319 0.212 - 0.033 0.056 8 dimensions note: both package length and width do not include mold flash.
69 r ev.1. 1 69 - http://www.elm-tech.com GD25Q128cxigx 3.3v uni form sector dual and quad serial flash 10.2 package wson8 ( 6 5 mm) symbol a a1 a2 b d d1 e e1 e y l unit mm min 0.70 - 0.19 0.35 5.90 3.25 4 .90 3 .85 - 0.00 0.50 nom 0.75 - 0.22 0.42 6.00 3.37 5 .00 3.97 1.27 bsc 0.04 0.60 max 0.80 0.05 0.25 0.48 6.10 3.50 5 .10 4.10 - 0.08 0.75 inch min 0.028 - 0.007 0.014 0.232 0.128 0.193 0.151 - 0.000 0.020 nom 0.030 - 0.009 0.016 0.236 0.133 0.197 0.156 0.05 bsc 0.001 0.024 max 0.032 0.002 0.010 0.019 0.240 0.138 0.201 0.161 - 0.003 0.030 dimensions note: 1. both package length and width do not include mold flash. 2. the exposed metal pad area on the bottom of the package is connected to device ground (gnd pin), so both floating and connecting gnd of exposed pad are also available. d e top view d1 e1 b e bottom view l 1 a2 a1 a side view y


▲Up To Search▲   

 
Price & Availability of GD25Q128

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X